package _3ChapterThree._3ChangeValueToReference.newObject;

public class Order {
    private Customer _customer;

    public Order(String customerName) {
        this._customer = Customer.create(customerName);
    }

    public Customer get_customer() {
        return _customer;
    }

    public void setCustomer(String customerName) {
        this._customer = Customer.create(customerName);
    }

    public String getCustomerName() {
        return _customer.get_name();
    }
}
